package com.hh.admin.model.newinfo.form;

import com.hh.admin.common.service.IBaseParamBeanOper;
import com.hh.common.bean.BaseBean;

/**
 * 新鲜资讯SQL查询参数Bean
 * @author 冯昌硕
 * @create 2013-1-20 下午4:58:27
 */
public class ParamNewInfoBean extends BaseBean implements IBaseParamBeanOper {

    /**
     * 分页查询起始记录
     */
    private int offset = 0;
    
    /**
     * 每页数据大小，默认10条
     */
    private int pageSize = 10;
    
    private int id;
    
    /**
     * 新鲜资讯标题
     */
    private String title;
    
    /**
     * 新鲜资讯正文
     */
    private String detailContent;
    
    /**
     * 内容状态(0-草稿；1-发布)
     */
    private int status;
    
    /**
     * 创建人
     */
    private String createUser;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDetailContent() {
        return detailContent;
    }

    public void setDetailContent(String detailContent) {
        this.detailContent = detailContent;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }
    
    @Override
    public void setOffset(int offset) {
        this.offset = offset;
    }

    @Override
    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getOffset() {
        return offset;
    }

    public int getPageSize() {
        return pageSize;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

}
